<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title><?php echo $seo_title?></title>
    <link rel="shortcut icon" href="/lily.ico" type="image/x-icon" />
    <meta name="keywords" content="{$seo_keywords}" />
    <meta name="description" content="{$seo_desc}" />
    <meta name="title" content="{$seo_title}" />
    <meta name="renderer" content="webkit" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta name="applicable-device" content="pc,mobile">

    <?php if((request()->controller()=='News'||request()->controller()=='Events')&&request()->action()=='detail'){?>
    <meta property='og:title' content="{$title}"/>
    <meta property='og:image' content="{$cover}"/>
    <meta property='og:description' content="{$first}"/>
    <meta property='og:url' content="$url"/>
    <meta property="og:image:width" content="1200"/>
    <meta property="og:image:height" content="630"/>
    <meta name="twitter:site" content="@https://www.lily-bearing.com/" />
    <meta name="twitter:creator" content="@lilybearing" />
    <meta name="twitter:title" content="{$title}">
    <meta name="twitter:description" content="{$first}">
    <meta name="twitter:image" content="{$cover}">
    <meta name="twitter:card" content="summary_large_image">
    <?php }?>
    <?php if($base_data['is_no_index']==true){ ?><meta name='robots' content='noindex'><?php }?>
   
    <!--/*no header css */-->
    <style>
        ::-webkit-scrollbar{
    width:8px;
    height: 6px;
  }
  ::-webkit-scrollbar-thumb{
    border-radius: 10px;
    box-shadow: 0 0 1px rgb(255 255 255 / 50%);
    background-color: rgba(0, 0, 0, .2);
  }
  ::-webkit-scrollbar-track-piece{
    border-radius: 10px;
    box-shadow: 0 0 1px rgb(255 255 255 / 50%);
    background-color: #ededed;
  }
         @media(max-width:768px) {
            #header {
                display: none;
            }
        }

        #footer .footer-nav {
            display: none;
        }

        #footer .footer-copyright-container {
            display: none;
        }

        .footer-service .footer-wrapper {
            display: none;
        }

        .header-lang-item.active>a, .header-lang-item:hover>a {
            color: #36648a !important;
        }
        .header-lang-item.active:after {
            border-right: 3px solid #36648a !important;
        }

        .header-mbnav-level2-item .active {
            color: #36648a !important;
        }
        *,:after,:before {
            -webkit-box-sizing: border-box;
            box-sizing: border-box
        }

    </style>
 
    <script>window.$aioList = [ "hua" ]; window.$aioCdnPrefix = '/';</script>
    <script>
        window.gConfig =  window.gConfig || {};
        window.gConfig.isMobile = /iPhone|iPad|iPod|Android/i.test(navigator.userAgent);
        var hClassName;
        if(window.gConfig.isMobile){
            hClassName = 'phone';
        }else{
            hClassName = 'pc';  
        }
        if(window.$aioList) {
            for(var i=0; i<window.$aioList.length; i++) {
                if(window.$aioCdnPrefix){
                    if(window.$aioList[i].length>0) {
                        document.write('<link rel="stylesheet" href="'+window.$aioCdnPrefix+window.$aioList[i]+'/'+(window.gConfig.isMobile?'phone':'pc')+'/css/index.css" />');
                    }
                } else {
                    if(window.$aioList[i].length>0) {
                        document.write('<link rel="stylesheet" href="'+window.$aioCdnPrefix+window.$aioList[i]+'/'+(window.gConfig.isMobile?'phone':'pc')+'/css/index.css" />');
                    }
                }
                
            }
        }
        var root = document.documentElement;
        root.className += hClassName ; 
    </script>
    <link rel="canonical" href="<?php echo $base_data['canonical_url']?>" />
    <link rel="stylesheet" href="/static/css/swiper-bundle.min.css" media="all" />
    <link rel="stylesheet" href="/static/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="/static/css/public4.css" media="all" />
    <link rel="stylesheet" href="/static/css/header-es-search.css" media="all" />
    <link rel="stylesheet" href="/static/css/header-sp.css" media="all" />
    <link rel="alternate" data-cp-role="site.variant" title="Chinese" hreflang="zh" href="<?php echo http_type().'www.lilybearing.com'.$_SERVER['REQUEST_URI'];?>" />
    <link rel="alternate" data-cp-role="site.variant" title="English" hreflang="en" href="<?php echo http_type().'www.lily-bearing.com'.$_SERVER['REQUEST_URI'];?>"  />

    
</head>
<body >

<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-53QZTLM" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->



<div id="content">
        <div id="common-components-container">
            <div data-mod-name-pc="@cloud/pep-header-and-footer-china/pc/index" data-mod-name-m="@cloud/pep-header-and-footer-china/m/index">
            <style>
                #header.show-dropdown .header-container {
                    height: 100vh !important;
                    z-index: 999;
                }

                .float-sidebar {
                  position: fixed !important;
                  z-index: 990 !important;
                }
            </style>
  
            <div data-mod-id="header" style="z-index:300;height: 60px;">
                <div class="header" data-mod-name="header">
                    <div id="header" bi_parent_name="navigation" meta-data-adjust-app="hide">
                        <div class="header-container">
                          
                            <div class="header-wrapper">
                                <div class="header-bottom" style="background-color: #36648a;height: 60px">
                                    <div class="header-bottom-wrapper" style="height: 60px">
                                        <a class="header-logo"  bi_name="logo" href="/">
                                            <img src="https://image.lily-bearing.com/images/web/logo.png">
                                        </a>
                                        <div class="header-nav">
                                            <div class="header-nav-scroll">
                                                <ul class="header-nav-list">
                                                    {foreach $base_data['nav_class'] as $key=>$vo }
                                                    <?php if($vo['first']['cname']=='Contact Us'){?>
                                                    <li><a style="text-decoration: none;" href="/{$vo['first']['url']}/"><span style="font-family: arial,helvetica,sans-serif;font-size: 14px;font-weight: normal;letter-spacing: 1px; color: #ffffff;">{:ucwords($vo['first']['cname'])}</span></a></li>
                                                    <?php }else{ ?>
                                                    <li data-key="{:change_lower_symbol($vo['first']['cname'])}" >
                                                        <a style="text-decoration: none;" href="/{$vo['first']['url']}/">
                                                            <span style="font-family: arial,helvetica,sans-serif;font-size: 14px;font-weight: normal;letter-spacing: 1px; color: #ffffff;">
                                                                {:ucwords($vo['first']['cname'])} 
                                                            </span>
                                                            <i class="layui-icon layui-icon-down" style="font-size:12px; color: #ffffff;display: block;position: static;width: auto;padding-left:5px;padding-top:1px;"></i>
                                                        </a>
                                                        
                                                    </li>
                                                    <?php } ?>
                                                    {/foreach}

                                                </ul>
                                            </div>
                                            <div class="header-bottom-mask"></div>
                                            <div class="header-nav-hover-line"></div>
                                        </div>
                                        <div class="header-tools" >
                                            
                                            <div class="header-menu-search-mb">
                                                <!-- <span class="header-icon-search" style="color:#fff"></span> -->
                                                <i class="layui-icon layui-icon-search" style="font-size: 18px; color: #ffffff;background-color: #36648a !important;"></i>  
                                            </div>
                                            
                                            <div class="header-menu-mb" data-clickable="true">
                                                <span style="background-color: #ffffff;"></span>
                                                <span style="background-color: #ffffff;"></span>
                                                <span style="background-color: #ffffff;"></span>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <script type="text/html" id="holder-drop"></script>
                                <script type="text/html" id="holder-mbnav"></script>
                                
                                <div class="header-mbshearch header-backdrop" bi_parent_name="search_mb">
                                    <div class="header-mbshearch-innner">
                                        <div class="header-mbshearch-form">
                                            <div class="header-mbshearch-form-row">
                                                <div><div class="header-mbshearch-input-box"><i class=""></i><input onkeyup="searselnew_phone()" id="sear_phone" type="text" class="header-mbshearch-input" autocomplete="off"></div></div>
                                                <div style="margin:3px 0px 0px 5px"><button onclick='sear1_phone()' type="button" class="layui-btn layui-btn-warm layui-btn-sm">Search</button></div>
                                                <div><a style="text-decoration:none;" class="header-mbshearch-cancel">Cancel</a></div>
                                            </div>
                                        </div>
                                        <div  style="padding: 10px 20px;">
                                            <style type="text/css">
                                                #left-ul-sear1_phone a{text-decoration: none;color: #333;}
                                            </style>
                                            <ul id="left-ul-sear1_phone">
                                                <!-- <li style="padding:3px 0px;"><a href="">625</a></li>
                                                <li style="padding:3px 0px;"><a href="">625</a></li>
                                                <li style="padding:3px 0px;"><a href="">625</a></li>
                                                <li style="padding:3px 0px;"><a href="">625</a></li>
                                                <li style="padding:3px 0px;"><a href="">625</a></li>
                                                <li style="padding:3px 0px;"><a href="">625</a></li> -->
                                            </ul>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>